package com.xzy.urp.mapper;

import com.xzy.urp.pojo.entity.BaseInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xzy.urp.pojo.vo.BaseInfoVO;
import com.xzy.urp.pojo.vo.CourseTimeVO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xzy
 * @since 2022-02-17
 */
public interface BaseInfoMapper extends BaseMapper<BaseInfo> {
     List<CourseTimeVO> getTimeByBaseId(Integer baseId);

     List<BaseInfoVO> getAddableBase(Integer semester,Integer section,Integer start,Integer end);

     Integer countAddableById(Integer semester,Integer section,Integer start,Integer end,Integer baseId);

}
